<template>
  <div>
    <div class="wrap_seach">
      <!-- 顶部搜索框 -->
      <searchtop @se-idt="setId"></searchtop>
    </div>
  </div>
</template>

<script>
import searchtop from "../components/base/searchtop.vue";


export default {
  components: { searchtop },
  methods: {
    setId(id) {
      this.$emit("get-play-all-id", this.$route.query.id); //传递当前歌曲id
      //将当前歌曲id，传递给APP.vue
      this.$emit("get-player-id", id);
    },
  },
};
</script>

<style lang="less">
.wrap_seach {
  width: 100%;
  height: 100%;

}
</style>
